//
//  MPNavigationController.m
//  SearchPeople
//
//  Created by YoloMao on 16/5/9.
//
//

#import "MPNavigationController.h"

@implementation MPNavigationController

- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated
{
    if (self.childViewControllers.count > 0)
    {
        viewController.hidesBottomBarWhenPushed = YES;// 隐藏底部工具条
    }
    [super pushViewController:viewController animated:animated];
}

@end
